[PATCH] [sanitizer] Remove usage of termios ioctl constants for glibc
authortrcrsired <uwgghhbcad@gmail.com>
Thu, 17 Jul 2025 04:18:30 +0000 (12:18 +0800)
committerSylvestre Ledru <sylvestre@debian.org>
Thu, 25 Dec 2025 16:38:13 +0000 (17:38 +0100)
commit8e107e602789269c915daaf43b56b699bd797af9
tree7da2fa37d4b1756fa68d08a65b035c580eee6abc
parent8f7227e1c05944abb501ccba391d5178b26885f1
[PATCH] [sanitizer] Remove usage of termios ioctl constants for glibc

glibc 2.42 made all usage of termios ioctl constants strictly internal.

Therefore, we remove all usage for those removed constants for glibc.

We keep a pesudo definition for PowerPC to make bots happy.

[sanitizer] avoid using ioctl constants for glibc above 2.41

[compiler-rt] code formatting to make CI happy

[compiler-rt] fix a missing #endif

Gbp-Pq: Name sanitizer-149140.patch
compiler-rt/lib/sanitizer_common/sanitizer_common_interceptors_ioctl.inc
compiler-rt/lib/sanitizer_common/sanitizer_platform.h
compiler-rt/lib/sanitizer_common/sanitizer_platform_limits_posix.cpp
compiler-rt/lib/sanitizer_common/sanitizer_platform_limits_posix.h